package ru.ys.jsolver.view;

import ru.ys.jsolver.interfaces.IBoard;

public class SimpleBoard implements IBoard{

	@Override
	public int getHeight() {		
		return 4;
	}

	@Override
	public State getPointState(int x, int y) {		
		if (x == 0) {
			if (y == 0) {
				return State.SET;
			} else {
				return State.EMPTY;
			}
		}
		
		if (y == 0) {
			return State.UNKNOWN;
		} else {
			return State.HYPOTHESIS;
		}		
	}

	@Override
	public int getWidth() {		
		return 2;
	}

}
